package com.qianli.cashmama.trade.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2021/12/2
 * Time: 9:51 上午
 */
@Controller
@RequestMapping("/jp")
public class JumpController {

    private static final Logger logger = LoggerFactory.getLogger(JumpController.class);

    @RequestMapping("/go")
    public String jump(String target) {
        return "redirect:"+target;
    }

    @RequestMapping("/go1")
    public String jump1(String target) {
        return "redirect:"+target;
    }

}
